﻿using Rw.Core.ORM.Domain;
using SqlSugar;

namespace WH.Model.Bases
{
    /// <summary>
    /// 继承实体
    /// </summary>
    public abstract class BaseEntity : Entity<string>, IAggregateRoot<string>
    {
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnName = "id", IsNullable = false, Length = 50, ColumnDescription = "主键id")]
        public override string Id { get; set; } = null!;
    }
}
